<template>
    <div>
        <h1>{{name}}</h1>
        <span>价格:{{price}}</span>
        <count :num="num" :id="id"></count>
    </div>
</template>
<script>
import count from './count'
export default {
    props:['name','price','num','id'],
    components:{
        count
    }
}
</script>
